package com.koron.order.orderAsset.feign;

import com.koron.bean.base.Response;
import com.koron.common.core.feignConfig.FeignFallbackFactory;
import com.koron.order.orderAsset.bean.OrderAsset;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.ArrayList;

@FeignClient(value = "eam-service-system",fallbackFactory = FeignFallbackFactory.class )
public interface SystemFeignClient {

    @PostMapping("/orderAsset/saveBatch")
    Response saveBatchOrderAsset(@RequestBody ArrayList<OrderAsset> orderAssets);
}
